package com.jemmyee.pizza.entity;
// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.GenericGenerator;


/**
 * Task entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="task"
    ,catalog="milestone.dbo"
)

public class Task  implements java.io.Serializable {


    // Fields    

     private Integer taskId;
     private String applyIds;
     private String address;
     private String jingbanUser;
     private Date createDate;
     private String requires;
     private String info;
     private String yewuShouli;
     private String shigongShouli;


    // Constructors

    /** default constructor */
    public Task() {
    }

    
    /** full constructor */
    public Task(String applyIds, String address, String jingbanUser, Date createDate, String requires, String info, String yewuShouli, String shigongShouli) {
        this.applyIds = applyIds;
        this.address = address;
        this.jingbanUser = jingbanUser;
        this.createDate = createDate;
        this.requires = requires;
        this.info = info;
        this.yewuShouli = yewuShouli;
        this.shigongShouli = shigongShouli;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="increment")@Id @GeneratedValue(generator="generator")
    
    @Column(name="task_id", unique=true, nullable=false)

    public Integer getTaskId() {
        return this.taskId;
    }
    
    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }
    
    @Column(name="apply_ids", length=1000)

    public String getApplyIds() {
        return this.applyIds;
    }
    
    public void setApplyIds(String applyIds) {
        this.applyIds = applyIds;
    }
    
    @Column(name="address", length=65535)

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
    
    @Column(name="jingban_user", length=50)

    public String getJingbanUser() {
        return this.jingbanUser;
    }
    
    public void setJingbanUser(String jingbanUser) {
        this.jingbanUser = jingbanUser;
    }
@Temporal(TemporalType.DATE)
    @Column(name="create_date", length=0)

    public Date getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    
    @Column(name="requires", length=65535)

    public String getRequires() {
        return this.requires;
    }
    
    public void setRequires(String requires) {
        this.requires = requires;
    }
    
    @Column(name="info", length=65535)

    public String getInfo() {
        return this.info;
    }
    
    public void setInfo(String info) {
        this.info = info;
    }
    
    @Column(name="yewu_shouli", length=50)

    public String getYewuShouli() {
        return this.yewuShouli;
    }
    
    public void setYewuShouli(String yewuShouli) {
        this.yewuShouli = yewuShouli;
    }
    
    @Column(name="shigong_shouli", length=50)

    public String getShigongShouli() {
        return this.shigongShouli;
    }
    
    public void setShigongShouli(String shigongShouli) {
        this.shigongShouli = shigongShouli;
    }
   








}